home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / Shape.idl < prev    next >
Encoding:
Text File  |  1997-01-01  |  1.1 KB  |  58 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _SHAPE_
  4. #define _SHAPE_
  5.  
  6. #ifndef _SHAPEB_
  7. #include "ShapeB.idl"      
  8. #endif
  9.  
  10. //==============================================================================
  11. // Classes defined in this interface
  12. //==============================================================================
  13.  
  14. interface ODShape;
  15.  
  16. //==============================================================================
  17. // ODShape
  18. //==============================================================================
  19.  
  20. #ifdef _PLATFORM_MACINTOSH_
  21.  
  22. interface ODShape :  ODBaseShape
  23. {
  24.     void        InitShape();
  25.         
  26.     ODRgnHandle    GetQDRegion();
  27.               
  28.     void        SetQDRegion(in ODRgnHandle rgn );
  29.               
  30.     ODgxShape    GetGXShape( );
  31.               
  32.     void        SetGXShape(in ODgxShape s);
  33.               
  34.     ODRgnHandle    CopyQDRegion();
  35.  
  36.   
  37. #ifdef __SOMIDL__
  38.     implementation
  39.     {
  40.         releaseorder:
  41.             InitShape,
  42.             GetQDRegion,
  43.             SetQDRegion,
  44.             GetGXShape,
  45.             SetGXShape,
  46.             CopyQDRegion;
  47.     
  48.         majorversion = 1; minorversion = 0;
  49.  
  50.         functionprefix = ODShape__;
  51.     };
  52. #endif
  53. };
  54.  
  55. #endif //# _PLATFORM_MACINTOSH_
  56.  
  57. #endif //# _SHAPE_
  58.